package com.platform.task.entity;

/** 基础-虚拟身份 */
public class Base_Cyber {
	
	private String GuildID;
	private String CyberID;
	
	/** 数据时间（来源数据包） */
	public String Time;
	/** 组织机构代码 */
	public String ManufacturerCode;
	/** 地区编码 */
	public String AreaCode;
	/** 场所编码 */
	public String UnitCode;
	/** 设备编码 */
	public String MachineCode;
	/** 系统类型 */
	public String SystemType;
	/** 数据源ID */
	public Long DATASOURCEID;
	/** 经度 */
	public Double Lon;
	/** 纬度 */
	public Double Lat;
	/** 创建时间（来源数据包） */
	public String CreateTime;
	/** 首次地区编码 */
	public String FirstAreaCode;
	/** 首次场所编码 */
	public String FirstUnitCode;
	/** 首次设备编码 */
	public String FirstMachineCode;
	/** 首次数据源ID */
	public Long FirstDATASOURCEID;
	/** 数据源类型，程序定义 */
	public Integer RESOURCETYPE;
	/** 数据写入时间（来源服务端操作系统） */
	public String WriterTime;
	/** 接口分组ID/数据来源ID（ZhejiangType） */
	public Integer InterfaceGroupID;
	/** 服务类型 */
	public Integer ServiceType;
	/** 虚拟身份类型 */
	public Integer ProtoType;
	/** 昵称 */
	public String Nickname;
	/** 虚拟身份账号 */
	public String CyberCode;
	/** 域名 */
	public String Domain;
	/** 密码 */
	public String Password;

	public String getGuildID() {
		return GuildID;
	}

	public void setGuildID(String guildID) {
		GuildID = guildID;
	}

	public String getCyberID() {
		return CyberID;
	}

	public void setCyberID(String cyberID) {
		CyberID = cyberID;
	}

	public String getTime() {
		return Time;
	}

	public void setTime(String time) {
		Time = time;
	}

	public String getManufacturerCode() {
		return ManufacturerCode;
	}

	public void setManufacturerCode(String manufacturerCode) {
		ManufacturerCode = manufacturerCode;
	}

	public String getAreaCode() {
		return AreaCode;
	}

	public void setAreaCode(String areaCode) {
		AreaCode = areaCode;
	}

	public String getUnitCode() {
		return UnitCode;
	}

	public void setUnitCode(String unitCode) {
		UnitCode = unitCode;
	}

	public String getMachineCode() {
		return MachineCode;
	}

	public void setMachineCode(String machineCode) {
		MachineCode = machineCode;
	}

	public String getSystemType() {
		return SystemType;
	}

	public void setSystemType(String systemType) {
		SystemType = systemType;
	}

	public Long getDATASOURCEID() {
		return DATASOURCEID;
	}

	public void setDATASOURCEID(Long dATASOURCEID) {
		DATASOURCEID = dATASOURCEID;
	}

	public Double getLon() {
		return Lon;
	}

	public void setLon(Double lon) {
		Lon = lon;
	}

	public Double getLat() {
		return Lat;
	}

	public void setLat(Double lat) {
		Lat = lat;
	}

	public String getCreateTime() {
		return CreateTime;
	}

	public void setCreateTime(String createTime) {
		CreateTime = createTime;
	}

	public String getFirstAreaCode() {
		return FirstAreaCode;
	}

	public void setFirstAreaCode(String firstAreaCode) {
		FirstAreaCode = firstAreaCode;
	}

	public String getFirstUnitCode() {
		return FirstUnitCode;
	}

	public void setFirstUnitCode(String firstUnitCode) {
		FirstUnitCode = firstUnitCode;
	}

	public String getFirstMachineCode() {
		return FirstMachineCode;
	}

	public void setFirstMachineCode(String firstMachineCode) {
		FirstMachineCode = firstMachineCode;
	}

	public Long getFirstDATASOURCEID() {
		return FirstDATASOURCEID;
	}

	public void setFirstDATASOURCEID(Long firstDATASOURCEID) {
		FirstDATASOURCEID = firstDATASOURCEID;
	}

	public Integer getRESOURCETYPE() {
		return RESOURCETYPE;
	}

	public void setRESOURCETYPE(Integer rESOURCETYPE) {
		RESOURCETYPE = rESOURCETYPE;
	}

	public String getWriterTime() {
		return WriterTime;
	}

	public void setWriterTime(String writerTime) {
		WriterTime = writerTime;
	}

	public Integer getInterfaceGroupID() {
		return InterfaceGroupID;
	}

	public void setInterfaceGroupID(Integer interfaceGroupID) {
		InterfaceGroupID = interfaceGroupID;
	}

	public Integer getServiceType() {
		return ServiceType;
	}

	public void setServiceType(Integer serviceType) {
		ServiceType = serviceType;
	}

	public Integer getProtoType() {
		return ProtoType;
	}

	public void setProtoType(Integer protoType) {
		ProtoType = protoType;
	}

	public String getNickname() {
		return Nickname;
	}

	public void setNickname(String nickname) {
		Nickname = nickname;
	}

	public String getCyberCode() {
		return CyberCode;
	}

	public void setCyberCode(String cyberCode) {
		CyberCode = cyberCode;
	}

	public String getDomain() {
		return Domain;
	}

	public void setDomain(String domain) {
		Domain = domain;
	}

	public String getPassword() {
		return Password;
	}

	public void setPassword(String password) {
		Password = password;
	}

	@Override
	public String toString() {
		return "Base_Cyber [Time=" + Time + ", ManufacturerCode="
				+ ManufacturerCode + ", AreaCode=" + AreaCode + ", UnitCode="
				+ UnitCode + ", MachineCode=" + MachineCode + ", SystemType="
				+ SystemType + ", DATASOURCEID=" + DATASOURCEID + ", Lon="
				+ Lon + ", Lat=" + Lat + ", CreateTime=" + CreateTime
				+ ", FirstAreaCode=" + FirstAreaCode + ", FirstUnitCode="
				+ FirstUnitCode + ", FirstMachineCode=" + FirstMachineCode
				+ ", FirstDATASOURCEID=" + FirstDATASOURCEID
				+ ", RESOURCETYPE=" + RESOURCETYPE + ", WriterTime="
				+ WriterTime + ", InterfaceGroupID=" + InterfaceGroupID
				+ ", ServiceType=" + ServiceType + ", ProtoType=" + ProtoType
				+ ", Nickname=" + Nickname + ", CyberCode=" + CyberCode
				+ ", Domain=" + Domain + ", Password=" + Password + "]";
	}

	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result + ((CyberID == null) ? 0 : CyberID.hashCode());
		return result;
	}

	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		Base_Cyber other = (Base_Cyber) obj;
		if (CyberID == null) {
			if (other.CyberID != null)
				return false;
		} else if (!CyberID.equals(other.CyberID))
			return false;
		return true;
	}

}
